package com.kgc.itrip.pojo;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/***
*   图片表
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="图片表", description="图片表")
public class ItripImage implements Serializable {
        //主键
        @ApiModelProperty(value="主键")
        private Long id;
        //图片类型(0:酒店图片1:房间图片2:评论图片)
        @ApiModelProperty(value="图片类型(0:酒店图片1:房间图片2:评论图片)")
        private String type;
        //关联id
        @ApiModelProperty(value="关联id")
        private Long targetId;
        //图片s上传顺序位置
        @ApiModelProperty(value="图片s上传顺序位置")
        private Integer position;
        //图片地址
        @ApiModelProperty(value="图片地址")
        private String imgUrl;
        //
        @ApiModelProperty(value="")
        private Date creationDate;
        //
        @ApiModelProperty(value="")
        private Long createdBy;
        //
        @ApiModelProperty(value="")
        private Date modifyDate;
        //
        @ApiModelProperty(value="")
        private Long modifiedBy;
}
